package org.jeecg.modules.exPingbiao.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import org.jeecg.modules.exPingbiao.entity.ExZbcandidateDetailed;
import org.jeecg.modules.exPingbiao.mapper.ExZbcandidateDetailedMapper;
import org.jeecg.modules.exPingbiao.service.IExZbcandidateDetailedService;
import org.jeecg.modules.exTenderFile.entity.Chapter;
import org.jeecg.modules.system.entity.SysDepart;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.Arrays;
import java.util.List;

/**
 * @Description: 中标候选人明细
 * @Author: jeecg-boot
 * @Date:   2024-11-29
 * @Version: V1.0
 */
@Service
public class ExZbcandidateDetailedServiceImpl extends ServiceImpl<ExZbcandidateDetailedMapper, ExZbcandidateDetailed> implements IExZbcandidateDetailedService {

    @Override
    public List<ExZbcandidateDetailed> selectByTenderListIds(String[] tenderListIds) {
        LambdaQueryWrapper<ExZbcandidateDetailed> query = new LambdaQueryWrapper<ExZbcandidateDetailed>();
        query.in(ExZbcandidateDetailed::getTenderListId, Arrays.asList(tenderListIds));
        return this.list(query);
    }
}
